﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DjModel
{
    [Serializable]
    public class CommentInfo
    {
        /// <summary>
        /// 评论ID
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 文章ID
        /// </summary>
        public int PostID
        {
            get;
            set;
        }
        /// <summary>
        /// 文章名称
        /// </summary>
        public string PostName
        {
            get;
            set;
        }
        /// <summary>
        /// 评论作者
        /// </summary>
        public string Author
        {
            get;
            set;
        }
        /// <summary>
        /// 评论IP
        /// </summary>
        public string IP
        {
            get;
            set;
        }
        /// <summary>
        /// 评论email
        /// </summary>
        public string Email
        {
            get;
            set;
        }
        /// <summary>
        /// 评论的链接
        /// </summary>
        public string URL
        {
            get;
            set;
        }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime CommentDate
        {
            get;
            set;
        }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string Content
        {
            get;
            set;
        }
        /// <summary>
        /// 评论状态 0正常 1未审核 2已审核
        /// </summary>
        public int CommentStatus
        {
            get;
            set;
        }
        /// <summary>
        /// 父评论ID(为0没有父评论)
        /// </summary>
        public int ParentID
        {
            get;
            set;
        }
    }
}
